On 2/14/2017 8:35 PM, Tom
Kerekes
tk@...
[DynoMotion] wrote:
Hi David,
I believe the delay should be between 90-270us for
one user Thread running. If you use a User Sample Time
Callback you should be able to tighten that up a bit and
make it independent of the number of User Threads.
The execution time of the code itself should be
insignificant (maybe 1us).
TK
I can't find anything on "User Sample Time Callback". Are
you referring to the UserCallBack variable defined in
KMotionDef.h?
I've always been terrible at function ptr signatures. This
is a function of no args that returns nothing, right?
If I'm understanding this right, the callback function will
be called after every servo sample, which aligns with your
comment that the timing is independent of number of threads
--
“Facts do not cease to exist because they are
ignored.”
― Aldous Huxley, Complete Essays 2, 1926-29
“The good thing about science is that it's true whether or
not you believe in it.”
― Neil deGrasse Tyson